package com.szsh.aiot.hsm.enums;

/**
 *标识类型
 */
public enum FlagType {

    YES(1, "是"),
    NO(0, "否"),
    UNKNOWN(-1, "未知");

    private final int val;
    private final String desc;

    FlagType(int val, String desc) {
        this.val = val;
        this.desc = desc;
    }

    public int getVal() {
        return val;
    }

    public String getDesc() {
        return desc;
    }

}
